
Virtual Hard Disk Size Increase

Get more disk space. Increase the size of a virtual disk. Expand virtual machine storage capacity. Possible with Qubes, Kicksecure-Qubes, Kicksecure KVM and Kicksecure VirtualBox.
Virtual Machines[edit]
If more disk space is required for virtual hard disks, the good news is this is simple for Kicksecure VMs. Nothing special because it is just another VM image. Any suggestions that are found for your virtualizer will similarly work for Kicksecure. Self Support First Policy applies.
1. Back-up important data.
Either move important files via shared folders or make a full clone of VMs in each snapshot state in case something goes wrong.
2. Select your virtualizer.
VirtualBox
3. On the host: Make a clone of all states of any existing virtual machine in case something goes wrong.
4. On the host: Delete all existing VM snapshots.
5. On the host: Grow the disk.
Either,
- A) Using the VirtualBox graphical user interface (GUI):
VirtualBox
→ File
→ Tools
→ Virtual Media Manager
→ select virtual hdd
→ adjust the size slider
or,
- B) Using the command line. See footnote. [1]
6. Install a partitioning tool.
Install a tool such as gparted
that can grow the filesystem.
Install package(s) gparted
following these instructions
1 Platform specific notice.
- Kicksecure: No special notice.
- Kicksecure-Qubes: In Template.
2 Update the package lists and upgrade the system.
Click = Copy Copied to clipboard!
3 Install the gparted
package(s).
Using apt
command line --no-install-recommends
option is in most cases optional.
Click = Copy Copied to clipboard!
4 Platform specific notice.
- Kicksecure: No special notice.
- Kicksecure-Qubes: Shut down Template and restart App Qubes based on it as per Qubes Template Modification
.
5 Done.
The procedure of installing package(s) gparted
is complete.
7. Start the partitioning tool.
Start a terminal.
Click = Copy Copied to clipboard!
8. Claim the new space.
- Increase the size of the filesystem.
- The user probably does not wish to create a new partition. Instead the exiting partition should be expanded.
9. Inside VM: Apply changes and shut down.
10. Done.
The procedure is complete.
KVM
3. On the host: Delete all existing snapshots.
4. On the host: Increase the disk size.
1G
below should be replaced with the amount of memory to be added in gigabytes.
Click = Copy Copied to clipboard!
5. Install GParted in Kicksecure.
Click = Copy Copied to clipboard!
6. Resize the filesystem to claim the newly added space.
- Increase the size of the filesystem.
- The user probably does not wish to create a new partition. Instead the exiting partition should be expanded.
7. Done.
Build from Source Code[edit]
Refer to Build Kicksecure from Source Code and utilize this command line parameter:
Click = Copy Copied to clipboard!
See Also[edit]
Footnotes[edit]
- ↑
Find the folder of the virtual hdd.
Run the following command. Notes:
- Adjust the filename of the virtual hdd.
- Adjust
100000
to for example200000
.

We believe security software like Kicksecure needs to remain Open Source and independent. Would you help sustain and grow the project? Learn more about our 12 year success story and maybe DONATE!